﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NUnit_0414
{
    /// <summary>
    /// descript the customer info 
    /// include id,name 
    /// </summary>
    public  class Customer
    {
        #region Base propreties
        /// <summary>
        /// get and set the customer's Name
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// get and set the customer's Id
        /// </summary>
        public int Id { get; set; }
        #endregion

        #region costructions
        /// <summary>
        /// default costruction without arg
        /// and Name is assigned to string.Empty, Id is assigned to 0;
        /// </summary>
        public Customer()
        {
            this.Name = string.Empty;
            this.Id = 0;
        }

        /// <summary>
        /// Construction with two args
        /// </summary>
        /// <param name="name"></param>
        /// <param name="id"></param>
        public Customer(string name, int id)
        {
            this.Id = id;
            this.Name = name;
        }
        #endregion
    }
}
